package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.DynamicComment;
import java.util.List;

public interface DynamicCommentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DynamicComment record);

    DynamicComment selectByPrimaryKey(Long id);

    List<DynamicComment> selectAll();

    int updateByPrimaryKey(DynamicComment record);

    /**
     * 获取的指定id的动态的评论集合
     * @param id
     * @return
     */
    List<DynamicComment> ListForDynamicID(Long id);
}